package com.sgzn.sgpay.service;

import com.sgzn.sgpay.model.request.SgsMobileMsgVerifyAddRequest;
import com.sgzn.sgpay.model.request.SgsMobileMsgVerifyDeleteRequest;
import com.sgzn.sgpay.model.request.SgsMobileMsgVerifyQueryRequest;
import com.sgzn.sgpay.model.request.SgsMobileMsgVerifyUpdateRequest;
import com.sgzn.sgpay.model.response.SgsResultResponse;

/**
 * 手机短信验证码管理服务
 * @author huangsenguang
 * @version Id: SgsMobileMsgVerifyService.java, v 0.1 2018/4/25 20:26 huangsenguang Exp $$
 */
public interface SgsMobileMsgVerifyService {
    /**
     * 添加手机短信验证
     */
    SgsResultResponse<String> addMobileMsgVerify(SgsMobileMsgVerifyAddRequest request);

    /**
     * 删除手机短信验证
     */
    SgsResultResponse<String> deleteMobileMsgVerify(SgsMobileMsgVerifyDeleteRequest request);


    /**
     * 查询手机短信验证
     * @param request
     */
    SgsResultResponse<Boolean> isMobileMsgVerify(SgsMobileMsgVerifyQueryRequest request);

    /**
     * 更新手机短信验证
     */
    SgsResultResponse<String> updateMobileMsgVerify(SgsMobileMsgVerifyUpdateRequest request);
}

